import enLocale from 'unitechs-ui/lib/locale/lang/en'
export default {
  ...enLocale,
  dateformat: {
    modatetimeformat: 'MM/DD/YYYY HH:mm:ss',
    modateformat: 'MM/DD/YYYY',
    datetimeformat: 'MM/dd/yyyy HH:mm:ss',
    dateformat: 'MM/dd/yyyy',
  },
  common: {
    serviceerror: 'An exception occurred to the request interface.',
    logoutTip:
      'You have been logged out, you can cancel to stay on the page, or log in again.',
    logout: 'Confirm logout',
    reLogin: 'Re login',
    cancel: 'Cancel',
    noauth: 'You do not have current operation permission',
  },
   //业务开通
  business:{
    //跳转页面名称
    pageName:{
      taskInquire:'taskInquire',
      taskDetails:'taskDetails',
      addWorkOrder:'addWorkOrder',
      modifyWorkOrder:'modifyWorkOrder',
      workOrderDetails:'workOrderDetails',
      issued:'issued',
      addTemplate:'addTemplate',
      modifyTemplate:'modifyTemplate',
      templateDetails:'templateDetails',
      templateDeploy:'templateDeploy',
      configTemAdd:'addConfigTemp',
      configTemModify:'modifyConfigTemp',
      configTempBatchIssued:'configTempIssued',
    },
    //公共信息
    common:{
      selestPlaceholder:"please choose",
      inputPlaceholder:"Please enter the content",
      selectTime:"Please select time",
      loading:"loading",
      noData:"No data",
    },
     //按钮名称
     btnName:{
      operate:"operating",
      inquire:"Inquire",
      details:"detailed",
      editWsnbr:"Create a work order",
      batchDeploy:"Batch delivery",
      determine:"determine",
      cancel:"cancel",
      immediatelyIsSync:"Deploy now",
      timingIsSync:"Timed deployment",
      confirm:"confirm",
      close:"shut down",
      add:"add",
      del:"delete",
      templateCode:"Generate template code",
      addTo:"Add to",
      templateConfig:"Template configuration",
      configView:"Configuration preview",
      showMenuName:'Show / hide columns',
    },
    //提示信息
    message:{
      servTypeId:"Please select the business type first!",
      time:"Start time cannot exceed the end time!",
      configViewSuccess:"配置预览操作成功！",
      batchDeploy:"The configuration preview operation was successful!",
      pendingDeployment:"Only the work order to be deployed can be delivered!",
      messageText:"prompt",
      wsInvalidSuccess:"The work order is invalidated!",
      isSyncType:"Please choose the deployment method first!",
      isSyncTime:"Please choose the deployment time first!",
      isSyncOutTime:"Deployment time needs to be greater than the current time!",
      prilvl:"Please select the task priority first!",
      deployFinshed:"The configuration is delivered!",
      operTypeTip:"Please select the type of operation!",
      servModelIdTip:"Please choose a business model!",
      modifyWsnbr:"Modify work order",
      createWsnbr:"Create a work order",
      success:"success!",
      fail:"failure!",
      template:"Please select the template information you want to delete first!",
      delSuccess:"Delete template information successfully!",
      delFail:"Deleting template information failed!",
      resType:"Please select the device type first!",
      devSet:"Please select the device series first!",
      paraCode:"Please enter the parameter code first!",
      paraName:"Please enter the parameter name first!",
      paraCodeRepeat:"Custom parameter encoding cannot be repeated!",
      templetName:"Please enter the template name first!",
      templetCode:"Please be a template code!",
      templetcfg:"Please enter the template configuration information first!",
      delParamsTip:"Please select the parameter information you want to delete first!",
      selectedDev:"The currently selected device has been added!",
      selectedOneDev:"Only one device can be selected for a single device delivery!",
      savePara:'The work order has been generated and previewed, and the work order number needs to be regenerated after the parameters are modified!',
      wsnbrSuccess:"Generate a work order successfully!",
      needSelectDev:"Please select the device first!",
    },
    //任务查询
    taskInquire:{
      taskId:"Task identifier",
      taskType:"Task type",
      wsnbr:"Work order number",
      servTypeId:"business type",
      operType:"Operation type",
      netUserId:"operator",
      startTime:"Starting time",
      endTime:"End Time",
      tableLabel:{
        taskId:"Task identifier",
        execStatusName:"Task status",
        taskTypeName:"Task type",
        wsnbr:"Work order number",
        servTypeName:"business type",
        operTypeName:"Business operation type",
        servModelName:'Business model',
        netUserId:"operator",
        startTime:"Start time",
        endTime:"stop the time",
      },
    },
    //任务详情
    taskDetails:{
      wsnbr:'Work order number:',
      taskId:'Task number:',
      childTaskName:"Subtask number:",
      device:"device:",
      execStatus:"Execution status:",
      startTime:"execution time:",
      to:"to",
    },
    //工单管理
    workOrderMag:{
      nodeId:"Node name",
      wsnbr:"Work order number",
      status:"Work order status",
      servTypeId:"business type",
      operType:"Operation type",
      servModelId:"Business model",
      wsItemCode:"Work order entry",
      wsItemValue:"Work order entry value",
      createUser:"founder",
      startTime:"Starting time",
      endTime:"End Time",
      tableLabel:{
        wsnbr:"Work order number",
        circuitCode:'Circuit code',
        statusName:"Work order status",
        servTypeName:"business type",
        operTypeName:"Operation type",
        servModelName:"Business model",
        createTime:"Creation time",
        compTime:"Complete time",
        createUser:"founder",
        source:"Work order source"
      },
      operateDialogTitle:"Work order operation",
      operateBtnName:{
        details:"View details",
        modify:"Work order modification",
        review:"Configuration preview",
        issued:"Configuration delivery",
        log:"View task log",
        track:"Tracking",
        completion:"Forced completion",
        invalid:"Obsolete",
      },
      wsnbrStatus:{//此处比较的是数据库的数据，数据库返回的是中文
        pendingDeployment:"待部署",
        inDeployment:"部署中",
        completion:"竣工",
        partialSuccess:"部分成功",
        failure:"失败",
        obsolete:"作废",
        temporary:'暂存',
      },
      confirmWsCompletionTitle:"Is it confirmed that the work order is forced to be completed?",
      confirmWsInvalidTitle:"Do you confirm that the work order is invalidated?",
    },
    //配置下发
    workOrderIssued:{
      isSync:"Deployment method",
      startTime:"Deployment time",
      prilvl:"Task priority",
      description:"The following two options are independent of each other and can be selected separately. Please refer to the instructions carefully and use them carefully:",
      isCfgCheck:"Ignore configuration detection errors",
      ignoreCfgErr:"Ignore configuration error",
      isCfgCheckText:"Before the configuration is performed, check the resource conflicts. If the configuration check result does not affect the configuration, for example, the PE sub-ports already exist, the VLAN IDs are duplicated on different ports, and the VRF RT value is changed. Configure the check option to forcibly overwrite the existing configuration when the configuration is delivered.",
      ignoreCfgErrText:"If you ignore the configuration error, some configuration commands may not be executed correctly. The configuration of the device is inconsistent with the preview. If the configuration and presence of the link on the PE device or the exit fails, you can select the option to ignore the configuration error. After the work order is completed, log in to the device and check the configuration of the link.",
      prilvlOption:{
        low:"low",
        center:"middle",
        height:"height"
      },
      loadingText:"Configuration in the delivery...",
      confirmColsePageTitle:"Do you need to close the current page?",
    },
    //工单编辑页
    workOrderEdit:{
      wsnbr:"Work order number",
      createTime:"Creation time",
      createUser:"founder",
      servTypeId:"business type",
      operType:"Operation type",
      servModelId:"Business model",
      noDataItem:"No work order entry data!",
    },
    //模板查询
    customTemplateInquire:{
      servTypeId:"business type",
      operType:"Operation type",
      description:"Template description",
      resType:"Equipment type",
      devSet:"Equipment series",
      templetName:"Template name",
      tableLabel:{
        templetCode:"Template coding",
        templetName:"Template name",
        description:"Template description",
        servTypeName:'business type',
        operTypeName:"Operation type",
        devSetName:"Equipment series",
      },
      details:"see details",
      modify:"Template modification",
      singleDev:"Single device delivery",
      batchDev:"Batch delivery",
      templateTipTitle:"Whether to confirm the deletion of the selected template information ?",
      dialogTitle:"Custom template actions"
    },
    //模板编辑
    templateEdit:{
      servTypeId:"business type",
      operType:"Operation type",
      resType:"Equipment type",
      devSet:"Equipment series",
      templetName:"Template name",
      description:"Template description",
      templetCode:"Template coding",
      paramsTitle:"Custom parameter",
      paraCode:"Parameter coding",
      paraName:"parameter name",
      paraDescr:"Parameter Description",
      paraDef:"Parameter definition",
      modifyTemplateTitle:"Modify a custom template",
      createTemplateTitle:"Create a custom template",
    },
    //模板下发
    templateDeploy:{
      templetName:"Template name:",
      description:"Template description:",
      templetCode:"Template code:",
      selectDev:"Device Selection",
      selectedDev:"Selected device",
      tableLabel:{
        devName:"Device name",
        mgmtIp:"Device IP",
        nodeName:"Node",
        devSetDesc:"Equipment series",
      },
      configRadio1:"Unified device configuration",
      configRadio2:"By device configuration",

    },
    //配置项模板
    //配置模板查询
    configTemInquire:{
      cfgItemCode:'Configuration item encoding',
      devSet:'Equipment series',
      cfgType:'Configure protocol type',
      tableLabel:{
        cfgItemCode:"Configuration item encoding",
        devSetDesc:"Equipment series",
        taskType:"Task type",
        templetType:"Storage type",
        cfgType:'agreement type',
      },
      details:'View details',
      modifyBtn:'modify',
      dialogTitle:'View details',
      delCfgTempInfo:'Whether to confirm the deletion of the selected configuration template information?',

    },
    //配置模板编辑
    configTemEdit:{
      cfgItemCode:'Configuration item encoding',
      devSet:'Equipment series',
      cfgType:'Configure protocol type',
      templetCode:"Template encoding",
      createTempCode:'Generate template code',
      tempParams:'Template parameters',
      params:{
        paraCode:'Parameter encoding',
        description:'Parameter Description',
        type:'Parameter Type',
        required:'Is required'
      },
      taskTaskTitle:"Please select a task type:",
      tempContentitle:'Template content:',
      yes:'yes',
      no:'no',
      message:{
        cfgItemCode:'Please enter the configuration item code first!',
        devSet:'Please select the device series first!',
        cfgType:'Please select the configuration protocol type first!',
        validate1:'Configuration item coding must not have symbols such as spaces and underscores!',
        validate2:'The configuration item code must be English letters + numbers!',
        validate3:'Template parameter encoding cannot be repeated!',
        paraCode:'Please enter the parameter code!',
        description:'Please enter a parameter description!',
        type:'Please enter the parameter type!',
        required:'Please choose whether it is required!',
        templetCode:'Please generate the template code first!',
        paramsData:'Template parameters cannot be empty!',
        modifyConfigTempSuccess:'Modifying the configuration template succeeded!',
        modifyConfigTempFail:'Failed to modify the configuration template!',
        configInfoIsExist:'Configuration information already exists!',
        addConfigTempSuccess:'Added configuration template successfully!',
        addConfigTempFail:'Failed to add configuration template!',
        taskType:'This task type has been added!',
        confirmColsePageTitle:"Whether to close the current page?",
      }
    },
    //批量下发
    configTempBatchIssued:{
      selectDev:'Select device',
      tableLabel:{
        devName:'Device name',
        mgmtIp:'Device iP',
        resPropDesc:'Device properties',
        domainDesc:'Management domain',
        netDesc:'The internet',
        nodeName:'node',
      },
      operTypeLabel:'Business operation type:',
      devConfig:'Unified device configuration',
      selectName:'select',
      delDevMessage:'Please select the device you want to delete first!',
      selectIssuedDev:'Please select the device to be issued first!',
      issuedingText:'Device is being delivered...',
      issuedSuccess:'The batch is issued successfully. The visualization of the activation process is not supported at this time. Please go to the work order review page to view the release results.',
      issuedFail:'Batch delivery failed!',
    }
  }
}
